package com.dme.modules.service.student.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dme.modules.dao.student.StudentDao;
import com.dme.modules.entity.User;
import com.dme.modules.service.student.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: 喜欢编程的代先生
 * @Date: 2022-06-12 12:35
 * @Description: 拒绝侵权
 */

@Service
public class StudentServiceImpl implements StudentService {

    private StudentDao studentDao;

    @Autowired
    public void setStudentDao(StudentDao studentDao) {
        this.studentDao = studentDao;
    }

    @Override
    public void serviceTest() {

        System.out.printf("service.........");

        QueryWrapper<User> wrapper = new QueryWrapper<>();

        List<User> users = studentDao.selectList(wrapper);

        List<User> users1 = studentDao.selectDME();
    }
}
